document.addEventListener('plusready',function(){
	var ws = plus.webview.currentWebview();
	var aid = ws.aid;
	$.ajax({
		type:"get",
		url:apiRoot+"?m=home&c=studio&a=doctorInfo&aid="+aid,
		dataType : 'json',
		success : function(data){
			console.log(JSON.stringify(data));
			if(data){
				plus.nativeUI.closeWaiting();
				$('.name').text(data.name);
				$('.resign').text(data.resign);
				$('.chief').text(data.chief);
				$('.pic').attr('src',webRoot+data.photo);
				$('.experience').html(data.experience);
				data.medicine?medicine = data.medicine: medicine = '暂无相关信息';
				$('.medicine').html(medicine);
			}
		},
		error : function(e){
			console.log(JSON.stringify(e));
			errortoast();
		}
	});
},false)